package com.example.postman.postReques;

import java.util.List;

/**
 * 文章转换的dto 类
 */
public class ArticleTitleDTO {
    /**
     * 当前页码
     */
    private int curpage;
    /**
     * 总共的条数
     */

    private int allnum;

    private List<ArticleTitle> newslist;

    public int getCurpage() {
        return curpage;
    }

    public void setCurpage(int curpage) {
        this.curpage = curpage;
    }

    public int getAllnum() {
        return allnum;
    }

    public void setAllnum(int allnum) {
        this.allnum = allnum;
    }

    public List<ArticleTitle> getList() {
        return newslist;
    }

    public void setList(List<ArticleTitle> newslist) {
        this.newslist = newslist;
    }
}
